package com.nike.controller;

import com.jfinal.core.Controller;
import com.jfinal.upload.UploadFile;
/**
 * 首页
 * @author wb-wuhantao
 *
 */
public class IndexController extends Controller{

	//首页
	public void index(){
		
		render("index.html");
	}
	//富文本上传文件返回展示
	public void upload(){
		UploadFile u= getFile();
		renderText("http://localhost:8093/upload/"+u.getFileName());
	}
	
	
	
}
